package cn.com.bluemoon.daps.model.service;

import cn.com.bluemoon.daps.common.domain.ResultBean;

import javax.servlet.http.HttpServletResponse;

/**
 * @author Jarod.Kong
 * @date 2021/3/15 13:58
 */
public interface DapDataModelExportService {
    /**
     * 导出
     *
     * @param response
     * @param modelId 模型id
     * @return wb
     */
    ResultBean<?> exportExcelByModelId(HttpServletResponse response, String modelId);

    ResultBean<?> exportExcelByModelId(String modelId);

    /**
     * 可选择分组+模型导出
     */
    void exportModelV2ByModelId(HttpServletResponse response, String modelId, String groupId);

}
